// Created by Amit Mudgal (Professional Services) for GCST 
// This is encryption module for MicroStrategy users
// Created on 5/28/2013 
package com.AmericanExpress.Security;

import com.microstrategy.utils.crypto.CryptoSessionKey;

public class Encryption {
	CryptoSessionKey crypto = new CryptoSessionKey("Am3xMstr=rtsMx3mA");
	public String Encrypt(String pwd){
	  String epwd=null;
	  epwd=crypto.encrypt(pwd, null);
	  return epwd;
	}
	
	public String Decrypt(String epwd){
		  String pwd=null;
		  pwd=crypto.decrypt(epwd);
		  return pwd;
		}

	
}
